package com.milkshopbackend.milkshop.enums;

public enum PaymentMethod {

    WECHAT(1, "微信支付"),
    ALIPAY(2, "支付宝");

    private final int code;
    private final String description;

    PaymentMethod(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
